spi: omap3: Convert to driver model
authorJagan Teki <[email protected]>
Mon, 14 Mar 2016 17:11:24 +0000 (22:41 +0530)
committerJagan Teki <[email protected]>
Mon, 14 Mar 2016 17:16:28 +0000 (22:46 +0530)
commit77b8d04854f486741471ad02b93b473b5b3d72f8
tree01f3997809bb696ccb291f27bb5a9bce2aa66916
parent03661d85f06eae6a6ae3a126a4dcb16ee8ab052c
spi: omap3: Convert to driver model

After this conversion the driver will able to support both dm and non-dm
and code is more extensible like we can remove the non-dm part simply
without touching anycode if all the boards which are using this driver
become dm driven.

Cc: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Acked-by: Christophe Ricard <[email protected]>
Tested-by: Christophe Ricard <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
[Set priv->wordlen, Add Kconfig entry and file credit for dm conversion]
Signed-off-by: Christophe Ricard <[email protected]>
drivers/spi/Kconfig
drivers/spi/omap3_spi.c